﻿using Prism.Ioc;
using RoboAssembleX.Application.ActionJbo;
using RoboAssembleX.Application.AddBoard1;
using RoboAssembleX.Application.AddBoard2;
using RoboAssembleX.Application.AddGlass;
using RoboAssembleX.Application.AddGlass1;
using RoboAssembleX.Application.AddNeedle1;
using RoboAssembleX.Application.AddNeedle2;
using RoboAssembleX.Application.Robot;
using RoboAssembleX.Application.Vision;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoboAssembleX.Application
{
    public static class ContainerExtensions
    {
        public static void RegisterApplicationTypes(this IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterSingleton<RoboService>();
            containerRegistry.RegisterSingleton<RoboModel>();
            containerRegistry.RegisterSingleton<AddGlass1Service>();
            containerRegistry.RegisterSingleton<addGlass1Model>();
            containerRegistry.RegisterSingleton<AddBoard1Service>();
            containerRegistry.RegisterSingleton<AddBoard1Model>();
            containerRegistry.RegisterSingleton<AddBoard2Service>();
            containerRegistry.RegisterSingleton<AddBoard2Model>();
            containerRegistry.RegisterSingleton<AddNeedle1Service>();
            containerRegistry.RegisterSingleton<AddNeedle1Model>();
            containerRegistry.RegisterSingleton<AddNeedle2Service>();
            containerRegistry.RegisterSingleton<AddNeedle2Model>();
            containerRegistry.RegisterSingleton<AutoRunModel>();
            containerRegistry.RegisterSingleton<AutoRunService>();
            containerRegistry.RegisterSingleton<VisionService>();
        }
    }
}
